<?php
/**
 * 用户模块
 */

Route::group([], function (\Illuminate\Routing\Router $router) {


});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {

    $router->get('index', 'NurseryController@index');
    $router->get('detail', 'NurseryController@detail');
    $router->get('nurseries', 'NurseryController@nurseries');
    $router->get('view', 'NurseryController@view');
    $router->get('service', 'NurseryController@service');
    $router->post('editPrice', 'NurseryController@editPrice');
    $router->post('apply', 'NurseryController@apply');
    $router->post('order', 'NurseryController@order');
    $router->post('finish', 'NurseryController@finish');
    $router->get('orders', 'NurseryController@orders');
    $router->get('myOrders', 'NurseryController@myOrders');
    $router->get('orderDetail', 'NurseryController@orderDetail');
    $router->get('evaluates', 'NurseryController@evaluates');
    $router->delete('del', 'NurseryController@del');

    $router->post('signFor', 'NurseryController@signFor');


});